package com.otp.service.util;


public class HTMLTag{
	
	private int index; //index of tag in overall string
	private int typeNo; //index to the string list of working tags
	private boolean closing; //closing vs open tag
	
	
	public HTMLTag(int index, int typeNo, boolean closing) {
		this.index = index;
		this.typeNo = typeNo;
		this.closing = closing;
	}
	
	public int getTypeNo() {
		return typeNo;
	}

	public void setTypeNo(int typeNo) {
		this.typeNo = typeNo;
	}

	public boolean isClosing() {
		return closing;
	}

	public void setClosing(boolean closing) {
		this.closing = closing;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public int getIndex(){
		return index;
	}
	
	/*public int compare(HTMLTag o1, HTMLTag o2) {
	return o1.getIndex() - o2.getIndex();
	}*/

}
